@color: #a88ae9; /*公共颜色*/

.festival_list {
    position: relative;
    width: 520px;
    height: 580px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    box-sizing: border-box;
    padding-top: 10px;

    .title {
        font-family: Alimama_ShuHeiTi_Bold;
        text-align: center;
        height: 30px;
        line-height: 30px;
        font-size: 24px;
        font-weight: bold;
        color: @color;
    }

    .clear_all {
        position: absolute;
        top: 10px;
        right: 20px;
        width: 100px;
        height: 30px;
        background-color: #fff;
        border: 1px solid #a88ae98f;
        border-radius: 4px;
        text-align: center;
        line-height: 30px;
        color: @color;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;

        &:hover {
            box-shadow: 0 0 2px 2px #a88ae94a;
        }
    }

    .main {
        position: relative;
        width: 420px;
        height: 500px;
        margin: 20px auto 10px;
        overflow: hidden;
        overflow-y: auto;

        &::-webkit-scrollbar {
            width: 0;
        }

        .list_ul {
            width: 400px;
            display: flex;
            flex-direction: column;
            gap: 15px;

            li {
                position: relative;
                width: 100%;
                box-sizing: border-box;
                padding: 10px;
                padding-top: 10px;
                border: 1px solid @color;
                border-radius: 6px;
                transition: padding-top 0.2s;

                .date,
                .detail,
                .create_time {
                    letter-spacing: 2px;
                    background-color: #f5efef;
                    border-radius: 4px;
                    color: #dd5388;
                    box-sizing: border-box;
                    padding-left: 5px;
                    word-break: break-all;

                    span {
                        font-weight: bold;
                    }
                }
                .detail,
                .create_time {
                    margin-top: 10px;
                }

                .del,
                .edit,
                .cancel_edit {
                    position: absolute;
                    z-index: 1;
                    top: -2px;
                    font-size: 24px;
                    cursor: pointer;
                    display: none;
                }
                .del {
                    left: 12px;
                }
                .edit,
                .cancel_edit {
                    right: 12px;
                }

                &:hover {
                    padding-top: 30px;
                    transition: padding-top 0.2s;

                    .del,
                    .edit,
                    .cancel_edit {
                        display: block;
                    }
                }
            }
        }
    }
}
